package com.elitel.frame.web.serverreqstat.entity;

import lombok.Setter;

/**
 * 服务异常统计信息
 * @author m
 */
@Setter
public class ServerErrorStat {
    private Integer errorReqCount;
    private Integer errorReqServerCount;
    private Integer overNCount;
    private Integer overNServerCount;
    private Integer timeoutCount;
    private Integer timeoutServerCount;
    private Integer errorNoCsCount;
    private Integer errorNoCsServerCount;

    public Integer getErrorNoCsCount() {
        return errorNoCsCount == null ? 0 : errorNoCsCount;
    }

    public Integer getErrorNoCsServerCount() {
        return errorNoCsServerCount == null ? 0 : errorNoCsServerCount;
    }
    public Integer getErrorReqCount() {
        return errorReqCount == null ? 0 : errorReqCount;
    }

    public Integer getErrorReqServerCount() {
        return errorReqServerCount == null ? 0 : errorReqServerCount;
    }

    public Integer getOverNCount() {
        return overNCount == null ? 0 : overNCount;
    }

    public Integer getOverNServerCount() {
        return overNServerCount == null ? 0 : overNServerCount;
    }

    public Integer getTimeoutCount() {
        return timeoutCount == null ? 0 : timeoutCount;
    }

    public Integer getTimeoutServerCount() {
        return timeoutServerCount == null ? 0 : timeoutServerCount;
    }
}
